/**
 * 
 */
package net.toocruel.iqismart.dao.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.util.List;

/**
 * @author toocruel
 *
 */
@NoRepositoryBean
public interface BaseRepository<T> extends JpaRepository<T, Long>, JpaSpecificationExecutor<T> {

    int deleteByIdIn(Long[] id);

    List<T> findByIdIn(Long[] ids);
}
